cd `dirname $0`
basepath=$(cd `dirname $0`; pwd)
git pull
pid=`ps -ef|grep demo-0.0.1-SNAPSHOT|grep -v "grep"|awk -F ' ' '{print $2}'`
kill $pid
mvn clean package -DskipTests
nohup /root/project/test -Xmx512m  java -jar demo-0.0.1-SNAPSHOT.jar --server.port=8081 >> ./logs/info.log &
